package cn.iocoder.yudao.module.member.controller.admin.user.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 会员用户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MemberUserRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4874")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("密码")
    private String password;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "类型,0-个人用户 1-公司用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("类型,0-个人用户 1-公司用户")
    private Integer type;

    @Schema(description = "注册 IP", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("注册 IP")
    private String registerIp;

    @Schema(description = "注册终端")
    @ExcelProperty("注册终端")
    private Integer registerTerminal;

    @Schema(description = "最后登录IP")
    @ExcelProperty("最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    @ExcelProperty("最后登录时间")
    private LocalDateTime loginDate;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("用户昵称")
    private String nickname;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("头像")
    private String avatar;

    @Schema(description = "真实名字", example = "赵六")
    @ExcelProperty("真实名字")
    private String name;

    @Schema(description = "用户性别")
    @ExcelProperty("用户性别")
    private Integer sex;

    @Schema(description = "所在地", example = "27509")
    @ExcelProperty("所在地")
    private Long areaId;
    @Schema(description = "所在地", example = "27509")
    @ExcelProperty("所在地")
    private String areaName;

    @Schema(description = "出生日期")
    @ExcelProperty("出生日期")
    private LocalDateTime birthday;

    @Schema(description = "会员备注")
    @ExcelProperty("会员备注")
    private String mark;

    @Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("积分")
    private Long point;

    @Schema(description = "可用余额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("可用余额")
    private BigDecimal balance;

    @Schema(description = "用户标签编号列表，以逗号分隔")
    @ExcelProperty("用户标签编号列表，以逗号分隔")
    private List<Long> tagIds;

    @Schema(description = "等级编号", example = "22294")
    @ExcelProperty("等级编号")
    private Long levelId;

    @Schema(description = "经验", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("经验")
    private Integer experience;

    @Schema(description = "用户分组编号", example = "15084")
    @ExcelProperty("用户分组编号")
    private Long groupId;

    @Schema(description = "支付密码")
    @ExcelProperty("支付密码")
    private String payPassword;

    @Schema(description = "银行卡手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("银行卡手机号")
    private String bankMobile;

    @Schema(description = "银行卡号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6263")
    @ExcelProperty("银行卡号")
    private String bankId;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21066")
    @ExcelProperty("身份证号")
    private String identityId;

    @Schema(description = "身份证照片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("身份证照片")
    private String identityPicFont;

    @Schema(description = "身份证照片后")
    @ExcelProperty("身份证照片后")
    private String identityPicBack;

    @Schema(description = "银行卡照片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("银行卡照片")
    private String bankPic;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;


    private String shopName;
    private String shopDesc;
    private String shopAddress;
    private String socialCreditId;
    private List<String> shopPic;
    private List<String> businessLicensePic;

}